import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { ModalModule, TabsModule, TooltipModule } from 'ngx-bootstrap';
import { AppCommonModule } from '@app/shared/common/app-common.module';
import { UtilsModule } from '@shared/utils/utils.module';
import { TableModule } from 'primeng/table';
import {
  MultiSelectModule,
  PaginatorModule,
  InputTextModule,
  DropdownModule,
  CalendarModule,
  StepsModule,
  TreeTableModule,
  InputSwitchModule,
  AutoCompleteModule,
  EditorModule,
  InputMaskModule
} from 'primeng/primeng';
import { EquipmentsComponent } from './equipment/equipments.component';
import { CreateOrEditEquipmentModalComponent } from './equipment/create-or-edit-equipment-modal.component';
import { BoundEquipmentSchedulesModalComponent } from './equipment/bound-equipment-schedules-modal.component';
import { BoundEquipmentMaintenancesModalComponent } from './equipment/bound-equipment-maintenances-modal.component';
import { MaintenancesComponent } from './equipment/maintenance.component';
import { CreateOrEditMaintenanceModalComponent } from './equipment/create-or-edit-maintenance-modal.component';
import { SchedulesComponent } from './equipment/schedule.component';
import { CreateOrEditScheduleModalComponent } from './equipment/create-or-edit-schedule-modal.component';
import { EquipIndexComponent } from './equipment/index.component';
import { ResourceRoutingModule } from './resource-routing.module';
import { ClassificationComponent } from './classification/classification.component';
import { CreateOrEditClassificationModalComponent } from './classification/create-or-edit-classification-modal.component';
import { GeneralToolsComponent } from './general-tool/general-tool.component';
import { CreateOrEditGeneralToolModalComponent } from './general-tool/create-or-edit-general-tool-modal.component';
import { ActionGeneralToolModalComponent } from './general-tool/action-general-tool-modal.component';
import { EditOutOrBackGeneralToolModalComponent } from './general-tool/edit-out-or-back-general-tool-modal.component';
import { ToolingsComponent } from './tooling/tooling.component';
import { CreateOrEditToolingModalComponent } from './tooling/create-or-edit-tooling-modal.component';
import { ActionToolingModalComponent } from './tooling/action-tooling-modal.component';
import { EditOutOrBackToolingModalComponent } from './tooling/edit-out-or-back-tooling-modal.component';
import { ToolingLogModalComponent } from './tooling/tooling-log-modal.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ModalModule,
    TabsModule,
    TooltipModule,
    AppCommonModule,
    UtilsModule,
    ResourceRoutingModule,
    TableModule,
    MultiSelectModule,
    PaginatorModule,
    AutoCompleteModule,
    EditorModule,
    InputMaskModule,
    InputTextModule,
    DropdownModule,
    CalendarModule,
    StepsModule,
    InputSwitchModule,
    TreeTableModule
  ],
  declarations: [
    EquipmentsComponent,
    CreateOrEditEquipmentModalComponent,
    BoundEquipmentSchedulesModalComponent,
    BoundEquipmentMaintenancesModalComponent,
    MaintenancesComponent,
    CreateOrEditMaintenanceModalComponent,
    SchedulesComponent,
    CreateOrEditScheduleModalComponent,
    EquipIndexComponent,
    ClassificationComponent,
    CreateOrEditClassificationModalComponent,
    GeneralToolsComponent,
    CreateOrEditGeneralToolModalComponent,
    ActionGeneralToolModalComponent,
    EditOutOrBackGeneralToolModalComponent,
    ToolingsComponent,
    CreateOrEditToolingModalComponent,
    ToolingLogModalComponent,
    ActionToolingModalComponent,
    EditOutOrBackToolingModalComponent
  ]
})
export class ResourceModule {}
